package final2107.night.day11;

public class Demo {
    public static void main(String[] args) {
        int amount = getAmount(1);
        System.out.println(amount);
    }

    public static int getAmount(int i){
        if (i==10)
            return 1;
        return (getAmount(i+1)+1)*2;
    }
}
